package com.itheima.java.ai.langchin4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableCaching
@ComponentScan(basePackages = {"com.itheima.java.ai.langchin4j", "com.xiaozhi"})
@MapperScan(basePackages = {"com.itheima.java.ai.langchin4j.mapper", "com.xiaozhi.mapper"})
public class XiaozhiApp {
    public static void main(String[] args) {
        SpringApplication.run(XiaozhiApp.class, args);
    }
}